﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityPet
{
    /// <summary>
    /// 售后服务
    /// </summary>
   public class Pet_Service
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid ID { get; set; } = Guid.NewGuid();

        /// <summary>
        /// 顾客昵称
        /// </summary>
        [Required]
        [StringLength(50)]
        public String? JiaName { get; set; }


        /// <summary>
        /// 问题
        /// </summary>
        [Required]
        [StringLength(100)]
        public String? Question { get; set; }
       

        /// <summary>
        /// 退款
        /// 是否退款
        /// </summary>
        public bool Refund { get; set; }

        /// <summary>
        /// 处理人员
        /// </summary>
        [Required]
        [StringLength(20)]
        public String? Staff { get; set; }

        /// <summary>
        /// 处理结果
        /// 1已解决、2未解决、3客户不满意
        /// </summary>
        public bool Results { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(50)]
        public String? Notes { get; set; }
    }
}
